pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:26:09 +0000 (12:26 +0000)
commit78e3102eec9b21f69d65849e819a044bb62dc2c5
treec007d183bbc3c2ac65f190297e2a6011eb27c8ab
parentca6d75db3dbe7d24253d5b4596b37b5ddf0e3095
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py